package pe.edu.upc.dew.springcorekata;

import org.aspectj.lang.ProceedingJoinPoint;

public class SuperSensei {

    public void interceptar(ProceedingJoinPoint pjp) throws Throwable {
        System.out.println("Before");
        try {
            pjp.proceed();
            System.out.println("After Returning");
        } catch (Exception e) {
            System.out.println("After Throwing");
        } finally {
            System.out.println("After");
        }
    }
}
